//
//  PredictionDetailViewController.m
//  CP20180523
//
//  Created by apple on 2018/5/26.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "PredictionDetailViewController.h"

@interface PredictionDetailViewController ()

@property (weak, nonatomic) IBOutlet UILabel *titalLabel;
@property (weak, nonatomic) IBOutlet UITextView *detailTextView;


@end

@implementation PredictionDetailViewController{
    NSDictionary* showDetailDic;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"预测详情";
    self.titalLabel.text = showDetailDic[@"title"];
    self.detailTextView.text = showDetailDic[@"detail"];
}

-(void)getPredictionDetailWith:(NSDictionary*)detailDic{
    showDetailDic = detailDic;

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
